<template>
  <div v-if="type" class="p-2 border bg-bsr dark:bg-bsy rounded text-white text-center">
    <slot />
  </div>
  <!-- <div v-show="showTip">Tip</div>
  <div @click="handleClick">btn</div> -->
</template>
<script setup>
const showTip = ref(false);
defineProps(["type"]);
function handleClick() {
  showTip.value = !showTip.value;
}
</script>
